Sedentary period detection utilizing a wearable electronic device

ABSTRACT

Systems and methods for determining a sedentary state of a user are described. Sensor data is collected and analyzed to calculate metabolic equivalent of task (MET) measures for a plurality of moments of interest. Based on the MET measures and a time period for which the MET measures exceed a threshold value, it is determined whether the user is in a sedentary state. If the user is in the sedentary state, the user is provided a notification to encourage the user to perform a non-sedentary activity.

CLAIM OF PRIORITY

This application is a continuation of U.S. patent application Ser. No. 15/078,981, filed of Mar. 23, 2016, titled “AUTOMATIC DETECTION OF USER'S PERIODS OF SLEEP AND SLEEP STAGE”, which claims the benefit of and priority, under 35 U.S.C. 119(e), to a Provisional Patent Application No. 62/137,750, filed on Mar. 24, 2015, and titled “SEDENTARY PERIOD DETECTION UTILIZING A WEARABLE ELECTRONIC DEVICE,” which is incorporated by reference herein in its entirety.

U.S. patent application Ser. No. 15/078,981 is a continuation-in-part of and claims the benefit of and priority, under 35 U.S.C. 120, to U.S. patent application Ser. No. 14/221,234, filed on Mar. 20, 2014, titled “Portable Monitoring Devices For Processing Applications and Processing Analysis of Physiological Conditions of a User associated with the Portable Monitoring Device”, which is a continuation of and claims the benefit of and priority, under 35 U.S.C. 120, to U.S. patent application Ser. No. 14/156,413, filed on Jan. 15, 2014, titled “Portable Monitoring Devices For Processing Applications and Processing Analysis of Physiological Conditions of a User associated with the Portable Monitoring Device”, now issued as U.S. Pat. No. 9,241,635, which claims the benefit of and priority, under 35 U.S.C. 119(e), to a Provisional Patent Application No. 61/752,826, filed on Jan. 15, 2013, and titled “PORTABLE MONITORING DEVICES AND METHODS OF OPERATING SAME,” all of which are incorporated by reference herein in their entirety.

FIELD

Embodiments described in the present disclosure relate to the field of wearable electronic devices. Specifically, the embodiments relate to automatic detection of sedentary periods and promotion of non-sedentary behavior utilizing a wearable electronic device.

BACKGROUND

Trackers have gained popularity among consumers. A tracker is used to track a user's activities using a variety of sensors and helps the user to maintain a healthy life style. In order to determine the activities, the tracker collects activity data and runs computations on that data. One difficulty of obtaining accurate determinations of the activities is that the trackers, because they are worn by a user, are typically packaged in a compact casing containing less powerful processor(s) on which it is harder to run complex computations than larger electronic devices.

Another challenge in tracking the activities is differentiating between the user being stationary but performing an activity and the user being sedentary, e.g., spending minimal energy expenditure, etc. To illustrate, the user spends minimal energy when the user is seated, or seated and typing at a computer. Increased total sedentary time and longer sustained sedentary periods are associated with poor health and fitness, e.g., obesity, metabolic disorders, etc.

SUMMARY

In some embodiments, a wearable electronic device to be worn by a user is described. The wearable electronic device includes a set of one or more sensors to generate sensor data associated with the user when the user is wearing the wearable electronic device. The wearable electronic device further includes a set of one or more processors coupled to the set of sensors and a non-transitory machine readable storage medium coupled to the set of one or more processors and having stored therein instructions. When the instructions are executed by the set of one or more processors, the instructions cause the wearable electronic device to track a period of time during which a state of the user is determined to be sedentary. The determination is based on metabolic equivalent of task (MET) measures at moments of interest and the MET measures are calculated based on the sensor data. The instructions further cause the user to receive a notification responsive to the tracked period of time to encourage the user to limit the length of sedentary periods.

In various embodiments, the instructions further cause the wearable electronic device to classify, for each of the moments of interest, a status of the user as being sedentary or non-sedentary based on a MET measure for that moment of interest.

In several embodiments, a period of time is tracked based on a determination of contiguous ones of the moments of interest for which the status of the user is classified as sedentary.

In some embodiments, the status of the user at a moment of interest is classified as sedentary when a MET measure for that moment of interest is below a threshold MET value.

In various embodiments, the status of the user at a moment of interest is classified as sedentary when a MET measure for that moment of interest is between a first threshold value and a second threshold value, and the moment of interest is preceded by a first moment of interest within a threshold window of time for which the status of the user is sedentary, and is followed within the threshold window of time by a second moment of interest for which the status of the user is sedentary.

In some embodiments, one of the one of more sensors is a photoplethysmographic (PPG) sensor, and the MET measures are based on heart rate measures of the user calculated based on PPG sensor data.

In various embodiments, the instructions cause the wearable electronic device to filter out a period of time at which the state of the user is asleep.

In some embodiments, the wearable electronic device includes a sensor to generate sensor data associated with the user when the user is wearing the wearable electronic device. The wearable electronic device further includes a set of one or more processors coupled to the sensor and a non-transitory machine readable storage medium coupled to the set of one or more processors and having stored instructions therein. The instructions when executed by the set of one or more processors, cause the wearable electronic device to track a period of time during which the state of the user is determined to be sedentary based on the sensor data. The period of time has a beginning and an end. The instructions further cause the wearable electronic device to detect, responsive to the end of the period of time, that the state of the user has changed from sedentary to non-sedentary for a threshold period of time. The instructions cause the wearable device to cause the user to receive a notification responsive to the detection to encourage the user to remain non-sedentary.

In several embodiments, a notification is a message displayed on a display device of the wearable electronic device, or a vibration of the wearable electronic device, or a sound emitted by the wearable electronic device.

In some embodiments, a notification is indicative of the user having ended the period of time during which the state of the user is sedentary.

In various embodiments, a notification is determined based on preferences set by the user.

In some embodiments, a notification is a motivational statement displayed on the display device of the wearable electronic device.

In various embodiments, an apparatus to improve an effectiveness of notifications provided to the user of the wearable electronic device is described. The apparatus includes an electronic device including a sedentary state monitor to notify the user of the wearable electronic device to encourage the user to alter his/her sedentary behavior based on tracking periods of time during which the user is sedentary. The sedentary state monitor includes a set of one or more managers to receive a current state from a plurality of states of the user during periods of time. The states include a sedentary state. The one or more managers cause the wearable electronic device to receive notifications based on the current state to notify the user to limit a length of time during which the user is in the sedentary state.

In some embodiments, the apparatus further includes a sedentary learning unit coupled to receive data from each of the one or more managers concerning the notifications. The sedentary learning unit is coupled to a set of one of more sensors of the wearable electronic device to determine which notifications has an effect of modifying the sedentary behavior of the user, and to determine an updated configuration of at least one of the one or more managers. The updated configuration improves the user's response to the notifications to limit a length of a period of time during which the user is in the sedentary state.

In various embodiments, the one or more managers include a sedentary alert manager that receives a period of time for the current state of the user. The sedentary alert manager generates a sedentary alert based on a detection that the period of time exceeds a sedentary period of time threshold value. The sedentary alert manager sends a notification to the wearable electronic device indicating that the period of time exceeds the sedentary period of time threshold value.

In some embodiments, the one or more managers further include a non-sedentary state transition manager to receive the current state of the user. The non-sedentary state transition manager generates a notification that is based on a detection of an end of a sedentary period of time for the current state. The notification is sent from the non-sedentary state transition manager to the wearable electronic device.

In various embodiments, the sedentary learning unit determines based on notification information received from the sedentary alert manager and the non-sedentary state transition manager an updated configuration of at least one of the sedentary alert manager and the non-sedentary state transition manager. The updated configuration improves the user's response to the notification information to limit a length of a sedentary period of time during which the user is in the sedentary state.

In some embodiments, the updated configuration includes disabling at least one of the sedentary alert manager and the non-sedentary state transition manager.

In several embodiments, the sedentary learning unit includes a decision tree, a random forest, a support vector machine, neural network, a K-nearest neighbor, a Naïve Bayes, or Hidden Markov models.

In various embodiments, the sedentary learning unit allows the user to snooze a notification.

In some embodiments, the sedentary learning unit uses data related to the snoozed notification to determine an updated configuration of at least one of the one or more managers.

In various embodiments, the electronic device is a wearable electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments described in the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like references indicate similar elements.

FIG. 1A illustrates sedentary user state detection and sedentary alert management, according to various embodiments described in the present disclosure.

FIG. 1B illustrates a flow diagram of operations for tracking sedentary periods of time and causing a user to receive notifications based on the sedentary periods, according to some embodiments described in the present disclosure.

FIG. 2 illustrates a use of sedentary and non-sedentary statuses of the user to determine periods of time in which a state of the user is sedentary, according to several embodiments described in the present disclosure.

FIG. 3 illustrates a sedentary state monitor for notifying the user based on tracking of the sedentary periods of time to encourage the user to alter his/her sedentary behavior and to limit a length of the sedentary periods, according to some embodiments described in the present disclosure.

FIG. 4 illustrates a communication of a notification to the user based on a detection of an end of a sedentary period of time and of a beginning of a non-sedentary period of time, which has exceeded a threshold period of time, according to various embodiments described in the present disclosure.

FIG. 5 illustrates a communication of a sedentary alert to the user based on a detection of the sedentary period of time exceeding a sedentary period of time threshold value, according to some embodiments described in the present disclosure.

FIG. 6A illustrates a recordation of metabolic equivalent of task (MET) measures at consecutive moments of interest over a period of time and a classification of a status of the user at each moment of interest based on the MET measures, in accordance with various embodiments described in the present disclosure.

FIG. 6B illustrates a recordation of the MET measures at consecutive moments of interest over a period of time and the classification of the status of the user at each moment of interest based on the MET measures, in accordance with some embodiments described in the present disclosure.

FIG. 7 is a block diagram illustrating a wearable electronic device and an electronic device implementing operations disclosed herein, according to various embodiments described in the present disclosure.

FIG. 8 is a block diagram of a wrist-mounted electronic device having a button, a display, and a wrist band to secure the wrist-mounted electronic device to a forearm of the user, according to some embodiments described in the present disclosure.

DETAILED DESCRIPTION

In the following description, numerous specific details are set forth. However, it is understood that embodiments described in the present disclosure may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail in order not to obscure an understanding of the embodiments. It will be appreciated, however, by one skilled in the art that the embodiments may be practiced without such specific details. Those of ordinary skill in the art, with a description of the embodiments, will be able to implement appropriate functionality of the embodiments without undue experimentation.

In some embodiments, the terms “coupled” and “connected,” along with their derivatives, are used. It should be understood that these terms are not intended as synonyms for each other. For example, “coupled” is used to indicate that two or more elements, which are or are not in direct physical or electrical contact with each other, co-operate or interact with each other. Moreover, in this example, “connected” is used to indicate an establishment of communication between two or more elements that are coupled with each other. Furthermore, in various embodiments, a “set”, as used herein, refers to any positive whole number of items, including one item, unless stated otherwise, such as, a set of zero or more.

In some embodiments, an electronic device stores a code internally and/or transmits the code to other electronic devices over a computer network. The code is composed of software instructions and is sometimes referred to as computer program code or a computer program stored within a machine-readable storage media. In some embodiments, the code includes data for execution of the code. In various embodiments, the machine-readable storage media is computer-readable media. Examples of the computer-readable media include magnetic disks, optical disks, read only memory (ROM), random access memory (RAM), flash memory devices, phase change memory, etc. In various embodiments, the code is sent using a machine-readable transmission media, also called a carrier, such as, for example, electrical, optical, radio, acoustical, or other form of propagated signals. Further examples of the carrier include carrier waves, infrared signals, etc.

In various embodiments, the electronic device, e.g., a computer, etc., includes hardware and software. For example, the electronic device includes one or more processors coupled to one or more machine-readable storage media to store the code for execution on the one or more processors and/or to store data. To further illustrate, the electronic device includes a non-volatile memory containing the code and the non-volatile memory stores the code or data even when the electronic device is turned off, e.g., when power to the electronic device is removed, etc. While the electronic device is turned on, a part of the code that is to be executed by the one or more processors of the electronic device is copied from the non-volatile memory into a volatile memory, e.g., a dynamic random access memory (DRAM), a static random access memory (SRAM), etc., of the electronic device. The non-volatile memory is slower to access than the volatile memory. The electronic device typically also includes a set of one or more network interface(s), e.g., a network interface controller, a network interface card, an Internet access card, an Internet access controller, etc., each of which establishes physical or wireless network connections with the other electronic devices to communicate the code and/or data using the propagated signals. A wearable electronic device (WED), further described in detail below, is an example of the electronic device. It should be noted that one or more parts of an embodiment described in the present disclosure may be implemented using different combinations of software, firmware, and/or hardware.

Embodiments describing tracking of a sedentary state of a user and generation of a sedentary notification follow.

FIG. 1A illustrates sedentary state detection and sedentary alert management, according to some embodiments described in the present disclosure. It should be noted that task boxes 1, 2, 3A, 3B, and 4 of FIG. 1A are executed and components 110, 112, 120, 122, 124, and 126 of FIG. 1A are implemented, in some embodiments, in the wearable electronic device, or distributed between the wearable electronic device and one or more of the other electronic devices coupled to the wearable electronic device. In some embodiments, the wearable electronic device is worn on a body part, e.g., an arm, a wrist, an ankle, or a chest, etc., of the user, or embedded in a garment worn by the user. Examples of the one or more other electronic devices include a server including hardware and software, a tablet, a smartphone, a desktop computer, a laptop computer, and a smart television. In some embodiments, the one or more other electronic devices execute an application, sometimes referred to as an app, to implement, for example, a sensor data analyzer 112, a user state tracking unit 190, and/or a sedentary notification unit 192.

The task boxes 1-4 illustrate an order in which operations are performed by the components 110, 112, 120, 122, 124, and 126. As illustrated by the task box 1, one or more sensors 110 generate sensor data 150 for a plurality of time intervals. For example, the one or more sensors 110 are implemented in the wearable electronic device, such that, when worn by the user, at least some of the sensor data is indicative of an activity performed by the user. An example of the sensor data includes biometric data. In some embodiments, the one or more sensors 110 that generate the sensor data 150 include a motion sensor, e.g., a three axis accelerometer, etc. The motion sensor generates motion sensor data indicative of a motion, e.g., a number of steps taken by, a number of floors climbed by, a number of floors descended by, etc., of the user. In various embodiments, the one or more sensors 110 include a heart rate sensor, e.g., a photoplethysmographic (PPG) sensor, etc., to generate heart sensor data, e.g., PPG sensor data, etc., indicative of a heart rate of the user. In several embodiments, both the motion sensor and the heart rate sensor are housed in the same wearable electronic device or in different wearable electronic devices. In some embodiments, other types of sensors, e.g., a gyroscope, a gravity sensor, a rotation vector sensor, a magnetometer, a temperature sensor to measure a temperature of the user's skin and/or an environment surrounding the user, an ambient light sensor to measure an ambient light of the environment, a galvanic skin response sensor, a capacitive sensor, a humidity sensor, a sound sensor, etc., are housed in the wearable electronic device or in multiple wearable electronic devices. Examples of the environment surrounding the user include a room in which the user is situated, a street on which the user is standing or driving, an interior of a vehicle in which the user is situated, etc. In several embodiments, some or all of the sensor data 150 is generated by one of the one or more other electronic devices described above and received by the wearable electronic device from the one of the one or more other electronic devices.

The sensor data 150 generated during a time interval is processed by the sensor data analyzer 112. In some embodiments, a subset of the sensor data 150 is generated by performing a statistical operation, e.g., averaging, etc., on the sensor data 150 and is processed by the sensor data analyzer 112. At the task box 2, the sensor data analyzer 112 analyzes the sensor data 150 received from the one or more sensors 110 and calculates analyzed sensor information 152 for each moment of interest, and the analyzed sensor information 152 is used to determine a status, e.g., sedentary status or non-sedentary status, etc., of the user. In some embodiments, the analyzed sensor information 152 is calculated for a plurality of moments of interest at regular intervals of time, e.g., an interval within a range of 30 seconds-1.5 minute, a 1 minute interval, an interval within a range of 0.5 second-1.5 seconds, a 1 second interval, etc. In various embodiments, the intervals of time are configurable and dynamically adjusted, e.g., reduced or increased based on various factors, etc., and/or capable of being automatically disabled and/or manually disabled by the user for spans of time to save power.

In some embodiments, the analyzed sensor information 152 is metabolic equivalent of task (MET) measures, where each MET is determined for a moment of interest. A MET measure is a normalized measure of energy expenditure, which increases with activity and is non-zero at a moment of interest. For example, a MET measure for an inactive or asleep status or not wearing status is close to 1.0, a MET measure for the user while walking is generally above 2.0, and a MET measure for the user while swimming is between 10.0 and 11.0. While in some embodiments the analyzed sensor information 152 is MET measures, various embodiments use different measures, e.g., motion measures indicative of a motion of the user wearing the wearable electronic device, heart rate measures indicative of the heart rate of the user, etc. The motion measures are sometimes referred to herein as movement measures. Examples of the motion measures include a number of steps taken by the user, a number of floors climbed or descended by the user, etc. In various embodiments, the heart rate sensor, e.g., a heart rate monitor, etc., generates the heart sensor data indicative of a heart rate of the user and calculates the heart rate measures of the user.

The analyzed sensor information 152 for moments of interest is used by the user state tracking unit 190 to generate a state 156 of the user for different periods of time. In some embodiments, each period of time typically includes multiple contiguous moments of interest. In various embodiments, each period of time is as small as one moment of interest. The user state tracking unit 190 includes a user status identifier 120 that classifies each moment 154 of interest into the status of the user based on the analyzed sensor information 152 for that moment of interest. The statuses of the user are classified into the sedentary status and the non-sedentary status, as indicated in the task box 3A.

In some embodiments, the user status classifier 120 classifies the status of the user for the moment 154 of interest as being sedentary, e.g., seated, seated and typing at a computer, typing at a computer, etc., or non-sedentary, e.g., active, running, walking, exercising, dancing, swimming, etc. It should be noted that in various embodiments, when the status of the user is classified as non-sedentary, the user is spending a higher amount of energy compared to energy expended by the user when the status of the user is classified as sedentary. Several methods for classifying the moment 154 of interest are described in more detail below with reference to FIGS. 6A-6B.

In various embodiments, a MET measure is used to determine the non-sedentary status of the user and associates the non-sedentary status with a particular type of activity of the user. For example, according to a MET measure, the user status classifier 120 determines whether the user is running, walking, sprinting, bicycling, swimming, or performing another type of non-sedentary activity.

As described in the task box 3B, a time period detector 122 of the user state tracking unit 190 detects periods of time during which a state of the user is sedentary based on contiguous moments of interest for which the status of the user is classified as sedentary. For example, according to some embodiments described below with reference to FIG. 2, a block of time is determined by the time period detector 122 to have a sedentary state when it is determined by the time period detector 122 that the block of time includes contiguous moments of interest of sedentary statuses.

The state 156 of the user for different periods of time is used by the sedentary notification unit 192 to generate one or more sedentary alerts 158 to notify the user. Examples of the one or more sedentary alerts 158 are provided below. The one or more sedentary alerts 158 encourage the user to limit a length of sedentary time periods. At the task box 4, a sedentary state monitor 124 of the sedentary notification unit 192 generates the one or more sedentary alerts 158, e.g., a notification, etc., for providing to the user to encourage the user to alter his/her sedentary behavior. The one or more sedentary alerts 158 are provided to the user through a user interface 126, which includes a display device of the wearable electronic device. In some embodiments, the user receives the one or more sedentary alerts 158 through a vibration of the wearable electronic device, a message displayed on the display device of the wearable electronic device, and/or a sound emitted by a speaker within the wearable electronic device.

In some embodiments, the sensor data analyzer 112 is located within the wearable electronic device or within one of the other electronic devices. For example, a processor of the wearable electronic device or of one of the other electronic devices performs operations described herein as being performed by the sensor data analyzer 112. In several embodiments, the user status classifier 120 is located within the wearable electronic device or in one of the other electronic devices. For example, the processor of the wearable electronic device or of one of the other electronic devices performs operations described herein as being performed by the user status classifier 120. In various embodiments, the time period detector 122 is located within the wearable electronic device or in one of the other electronic devices. For example, the processor of the wearable electronic device or of one of the other electronic devices performs operations described herein as being performed by the time period detector 122. In several embodiments, the sedentary state monitor 124 is located within the wearable electronic device or in one of the other electronic devices. For example, the processor of the wearable electronic device or of one of the other electronic devices performs operations described herein as being performed by the sedentary state monitor 124. In some embodiments, the user interface 126 is located within the wearable electronic device or in one of the other electronic devices. For example, the processor of the wearable electronic device or of one of the other electronic devices performs operations described herein as being performed by the user interface 126. Examples of a processor include an application specific integrated circuit (ASIC), a programmable logic device (PLD), a central processing unit, a microprocessor, a controller, a microcontroller, etc.

In some embodiments, instead of the processor of the wearable electronic device performing the operations described herein as being performed by the sensor data analyzer 112, the user status classifier 120, the time period detector 122, the sedentary state monitor 124, and the user interface 126, different processors of the wearable electronic device perform the operations. For example, a processor of the wearable electronic device performs an operation described herein as being performed by the sensor data analyzer 112, another processor of the wearable electronic device performs an operation described herein as being performed by the user status classifier 120, yet another processor of the wearable electronic device performs an operation described herein as being performed by the time period detector 122, another processor of the wearable electronic device performs an operation described herein as being performed by the sedentary state monitor 124, and another processor of the wearable electronic device performs an operation described herein as being performed by the user interface 126. Similarly, in various embodiments, instead of the processor of one of the other electronic devices performing the operations described herein as being performed by the sensor data analyzer 112, the user status classifier 120, the time period detector 122, the sedentary state monitor 124, and the user interface 126, different processors of the one of the other electronic devices perform the operations.

In various embodiments, one or more processors of the wearable electronic device perform the operations described herein as being performed by the sensor data analyzer 112, the user status classifier 120, the time period detector 122, the sedentary state monitor 124, and the user interface 126. Similarly, in some embodiments, one or more processors of one of the other electronic devices perform the operations described herein as being performed by the sensor data analyzer 112, the user status classifier 120, the time period detector 122, the sedentary state monitor 124, and the user interface 126.

It should be noted that in embodiments in which tasks described above with reference to task boxes 2 through 4 are performed by the components 112, 120, 122, and 124 located in one of the other electronic devices, the wearable electronic device includes a display device to display the one or more sedentary alerts 158. Moreover, in these embodiments, the wearable electronic device and one of the other electronic devices communicate with each other via a communication medium, e.g., a universal serial bus cable, a wireless protocol air medium, a serial cable, a parallel cable, etc. An example of the wireless protocol includes Bluetooth™.

FIG. 1B illustrates a flow diagram of a method for tracking a sedentary period of time and causing the user to receive notifications based on the sedentary period of time, according to various embodiments described in the present disclosure. At an operation 102 of the method, a period of time during which the state of the user is determined to be sedentary, sometimes referred to herein as the “sedentary period of time”, is tracked by the time period detector 122. The determination of the period of time is based on the MET measures for individual non overlapping moments of interest within each period of time. Further, in some embodiments, the MET measures are generated within the wearable electronic device based on the sensor data 150 received from the one or more sensors 110 (FIG. 1A), e.g., a three axis accelerometer and a heart rate sensor, etc. Examples of the MET measures include movement measures calculated based on the sensor data 150 from the motion sensor and heart rate measures calculated based on the sensor data 150 from the heart rate sensor housed within the same wearable electronic device. If a length of the sedentary period of time exceeds a pre-determined threshold time period, it is determined by the time period detector 122 that the state of the user is sedentary.

At an operation 104 of the method for tracking the sedentary period of time, an act of providing the user with notifications to encourage the user to limit a length of the sedentary period of time is performed based on the tracking at the operation 102. In some embodiments, the operation 104 is performed within the wearable electronic device and the user is notified by receiving a message on the display device of the wearable electronic device, a vibration of the wearable electronic device, and/or a sound emitted by speakers of the wearable electronic device.

In some embodiments, a notification, as described herein, is an electronic notification that is sent to a display device. For example, the electronic notification is rendered by a processor to be displayed on a display device. In various embodiments, the electronic notification is provided in the form of a vibration or a sound.

FIG. 2 illustrates a use of the user's statuses of sedentary or non-sedentary to determine period of times in which the state of the user is sedentary according to some embodiments described in the present disclosure. As illustrated in FIG. 2, the statuses are illustrated as either sedentary or non-sedentary over time, e.g., at each moment of interest, etc. From the sedentary or non-sedentary statuses, non-overlapping, consecutive periods of time are derived. During each of the consecutive periods of time, the user is in either a sedentary state or a non-sedentary state. Each of the consecutive periods of time span one or more moments of interest. Also, as illustrated in FIG. 2, the consecutive periods of time have different states of the user, and the consecutive periods of time are described by the task box 3B.

Specifically, FIG. 2 shows that the consecutive periods of time are derived: a sedentary period 252, a non-sedentary period 254, and a sedentary period 256, each of which spans multiple contiguous moments of interest for which the status of the user is identical. The sedentary period 252 includes 6 moments of interest each of which has the status classified as sedentary. Comparatively, the non-sedentary period 254 includes 5 moments of interest, each of which has the status classified as non-sedentary. Transitions between the states of the user are represented by edges of the periods of time. e.g., when one time period ends and the next begins, etc., To illustrate, the state of the user transitions from the sedentary state to the non-sedentary state at an end of the sedentary period 252 of time and at a beginning of the non-sedentary period 254 of time.

In some embodiments, the time period detector 122 (FIG. 1A) detects and records alternating periods of time in which the state of the user is sedentary or non-sedentary. For example, the sedentary periods of time 252 and 256, and the non-sedentary period of time 254, illustrated in FIG. 2, are recorded over a span of time, e.g., an hour, a day, a week, etc., to be presented to the user or to perform further analysis with regard to a sedentary behavior of the user. The determined periods of time with the states, e.g., the sedentary state, the non-sedentary state, etc., are presented to the user on the display device of the wearable electronic device or a display device of one of the other electronic devices, e.g., a tablet, a smartphone, a computer, etc., which receives the determined periods of time and the states as data from the wearable electronic device. In some embodiments, the one of the other electronic devices generates the determined periods of time and the states. The user then views his/her sedentary behavior indicated by the determined periods of time and the states, and tracks his/her improvement over time.

In some embodiments, the user shares information about his/her sedentary behavior with friends, colleagues, or teammates via a network, e.g., a social network, etc. The friends, colleagues, or teammates compete with each other based on their respective sedentary states determined by their respective recorded sedentary periods.

In various embodiments, additional sensor data is used to further disambiguate between sedentary periods and other time periods during which the user is asleep and/or not wearing the wearable electronic device. The wearable electronic device is able to detect time periods during which the user is asleep or not wearing the wearable electronic device. For example, the one or more sensors 110 cannot detect information, e.g., the motion sensor data, the heart sensor data, number of steps taken, etc., about the user. To further illustrate, when the wearable electronic device is not being worn by the user, the one or more sensors detect a number of steps taken by the user to be zero for a time period. The time period satisfies the MET measures or motion based criteria for sedentary time, but do not qualify as sedentary because the user is not wearing the wearable electronic device or is asleep as is detected by the one or more sensors 110. MET measures for the time period during which the user is not wearing the wearable electronic device, e.g., while sleeping, while showering, etc., or is asleep are filtered out by the processor of the wearable electronic device or the processor of one of the other electronic devices before or during a time at which a determination of the sedentary and non-sedentary statuses is made.

Embodiments describing the sedentary state monitor follow.

Through an automatic detection and tracking of periods of time in which the state of the user is sedentary, the user receives notifications to encourage him/her to alter his/her behavior and be less sedentary. The notifications promote breaking up long periods of sedentary states and decrease an overall time that the user is sedentary. FIG. 3 is a block diagram of an embodiment of the sedentary state monitor 124 for notifying the user based on tracking of sedentary periods of time to encourage the user to alter his/her sedentary behavior and limit a length of the sedentary periods, according to several embodiments described in the present disclosure. The sedentary state monitor 124 includes a management unit 310 that receives the states of the user for periods of time. For example, the state is provided at an end of a period of time after which a preceding state of the user has changed. To illustrate, after a transition between two consecutive states of the user, it is indicated to the management unit 310 that a current period and the user's state has begun. As another example, the states are provided as a current stream of information that includes a transition between two consecutive states. As yet another example, the states are provided in bulk at regular intervals. To illustrate, a current period of time is thus far X time long, and the management unit 310 detects transitions between two consecutive states during X.

While FIG. 3 shows a non-sedentary state transition manager 320 of the management unit 310, a sedentary alert manager 330 of the management unit 310, and a non-sedentary goal manager 340 of the management unit 310, in some embodiments, the management unit 310 has more, less, and/or different types of managers. In embodiments with multiple types of managers, one or some combination of these managers are used at different times to interact with the user, e.g., by sending notifications to the user through the wearable electronic device of the user or through the one of the other electronic devices based on sedentary states of the user to encourage the user to alter or end a sedentary behavior as discussed in more detail below.

Embodiments describing a behavior triggered alert, e.g., a non-sedentary state transition, etc., follow.

In accordance with several embodiments, the user is notified, e.g., via display of a notification, etc., on the wearable electronic device upon detection that the sedentary period of time has ended and the non-sedentary period of time has begun, e.g., the user started moving, etc., and upon determination that the non-sedentary period of time exceeded a threshold period of time. While in some embodiments, the threshold period of time is the same for all types of activities, in various embodiments, the threshold period of time is different for at least certain type of activities. The user receives the notification, e.g., a message displayed on the display device of the wearable electronic device, a vibration of the wearable electronic device, and/or a congratulations sound on the wearable electronic device, etc., that notifies the user that he/she has just ended a sedentary period of time. The notification is intended to encourage the user to keep moving and remain active to limit a total amount of time for which the state of the user is sedentary.

FIG. 4 illustrates a communication of a notification to the user based on a detection of an end of a sedentary period 424 of time and a beginning of a non-sedentary period 426 of time, which has exceeded the threshold period of time, according to some embodiments described in the present disclosure. In some embodiments, the time period detector 122 (FIG. 1A) detects the sedentary period 424 of time of the user and upon detection 412 that the state of the user has changed from sedentary to non-sedentary for the threshold period of time, the time period detector 122 notifies the non-sedentary state transition manager 320 (FIG. 3), which communicates 414 a notification, e.g., non-sedentary state transition notification information, etc., to the wearable electronic device of the user. As an example, it is detected that the state of the user has changed from sedentary to non-sedentary when a set of one or more moments of interest included in the non-sedentary period 426 of time meet the threshold period of time. In some embodiments, the state of the user is detected to be non-sedentary when the user performs one of a variety of activities, e.g., running, sprinting, walking briskly, puttering around, etc., for a period of time, e.g., 30 seconds, 10 seconds, 1 minute, 3 minutes, etc.

In various embodiments, the non-sedentary period 426 of time is determined by the time period detector 122 based on statuses of the user at moments of interest. In some embodiments, an end of the sedentary period 424 of time is detected when a non-sedentary state of the user is detected.

In several embodiments, the non-sedentary state is detected based on a type of activity that the user is performing. For example, when the user runs for 30 seconds, e.g., the status of the user is classified as “non-sedentary, running” for 30 seconds, etc., a change in the state of the user from sedentary to non-sedentary is detected and the user receives a notification. As another example, when the user sprints for at least 10 seconds, e.g., the status of the user is classified as “non-sedentary, sprinting” for at least 10 seconds, etc., a change in the state of the user from sedentary to non-sedentary is detected and the user receives a notification. As yet another example, when the user walks briskly for 1 minute, e.g., the status of the user is classified as “non-sedentary, walking” for 1 minute, etc., a change in the state of the user from sedentary to non-sedentary is detected and the user receives a notification. As still another example, when the user putters around for at least 3 minutes, e.g., the status of the user is classified as “non-sedentary, puttering” for at least 3 minutes, etc., a change in the state of the user from sedentary to non-sedentary is detected and the user receives a notification.

In some embodiments, the time period detector 122 detects the sedentary period 424 of time and upon detection 412, of a non-sedentary moment of interest, e.g., one or more moments of interest included in the non-sedentary period 426 of time, etc., the time period detector 122 notifies the non-sedentary state transition manager 320, which determines that the non-sedentary period of time exceeds the threshold period of time and communicates 414 a notification to the wearable electronic device of the user that the threshold period of time is met. The notification that the threshold period of time is met is indicative that the user has ended the sedentary period 424 of time and is now active. The notification is intended to encourage the user to be more active and break sedentary periods more often.

In various embodiments, the notification that the threshold period of time is met is in the form of a sentence, or a motivational statement, or a positive message displayed on the display device of the wearable device. Examples of a non-exhaustive list of exemplary motivational statements that indicate whether the threshold period of time is met include “good job!,” “great work,” “keep moving,” “keep going”; “don't stop”; “step more”; “xx hours stationary” (where xx is how long the user has been sedentary); “keep walking”; “take a xx minute walk” (where xx is a value between 1-20, for example 2); “you got up after xx hours yy minutes of sitting” (where xx is the number of hours and yy the number of minutes the user is sedentary); “you're at x steps. can you get to x+200?” (where x is the number of steps taken since ending the sedentary period); “take the long way?”; “walking meeting?”; “let's go!”; “Walk to success!”; “Let's call u butter cuz u on a roll!”; “you're on fire!”; “movin' and a groovin'”; “Don't stop movin'!!”; “grab a friend, keep walking!”; “you can't catch me!”; “Good job, you sat around for x hours and now you finally got up”; “up and at 'em”; “walk like you just robbed a bank”; “Staying on top of it!”; “way to go”; “Way to move!”; “Way to work it!”; “you did it!”; “Looking healthy!”; “Good for you :)”; “Great!”; “score!”; and “nice!”, etc.

Embodiments describing rolling alerts follow.

In various embodiments, the user is notified through the wearable electronic device upon detection that the user has been sedentary for a threshold amount of time, which is sometimes referred to herein as a threshold sedentary time period. When the user has been sedentary for an extended period of time, a sedentary alert is communicated to the user to inform him/her of the extended period of time and encourage him/her to end the extended period. The sedentary alert is a message displayed on the display device of the wearable electronic device, a sound emitted by the wearable electronic device, and/or a vibration of the wearable electronic device. The sedentary alert is intended to encourage the user to start moving and become active to end the sedentary period.

In some embodiments, the threshold sedentary time period is 1 hour, or 2 hours, or 20 minutes, or 40 minutes, or a few seconds, or a few minutes, or a few hours. In various embodiments, the threshold sedentary time period is configurable, e.g., the user selects a length of a window of sedentary time after which he/she would like to be notified to end the sedentary time. In several embodiments, the threshold sedentary time period is dynamically adjusted, e.g., reduced or increased based on various factors, etc., and/or capable of being automatically disabled and/or manually disabled by the user.

In some embodiments, the user sets preferences for a type of alert to be received. For example the user selects a sound, a particular message to be displayed, and/or a vibration. In various embodiments, the user sets the sedentary state monitor 124 (FIG. 1A) such that sedentary periods of time are monitored within specific intervals of times. For example, the sedentary periods or non-sedentary periods of time are monitored during the day between 8 AM and 8 PM of a day and not monitored for remaining times of the day.

In some embodiments, an input, e.g., one or more preferences, etc., is received from the user via an input device, e.g., a keypad, a touchscreen of the display device, a stylus, etc., of the wearable electronic device or via an input device, e.g., a keypad, a touchscreen of a display device, a stylus, a keyboard, a mouse, etc., of one of the other electronic devices. In embodiments in which the input is received at the wearable electronic device and the sedentary state monitor 124 is located within one of the other electronic devices, the input is communicated from a communication device of the wearable electronic device to a communication device of the one of the other electronic devices. The communication device of the one of the other electronic devices provides the input to the sedentary state monitor 124 of the one of the other electronic devices. Examples of a communication device includes a device that applies a Bluetooth protocol, an Internet Protocol (IP), an Ethernet protocol, a Transmission Control Protocol over IP (TCP/IP) protocol, a Universal Serial Bus protocol, a serial transfer protocol, a parallel transfer protocol, etc. In embodiments in which the input is received at one of the other electronic devices and the sedentary state monitor 124 is located within the wearable electronic device, the input is communicated from the communication device of the one of the other electronic devices to the communication device of the wearable electronic device. The communication device of the wearable electronic device provides the input to the sedentary state monitor 124 of the wearable electronic device.

FIG. 5 illustrates communication of a sedentary alert to the user based on a detection of a sedentary period of time exceeding the threshold sedentary time period, according to various embodiments described in the present disclosure. The time period detector 122 (FIG. 1A) detects 516 a sedentary period 528 of time of the user and upon detection 516 that the sedentary period 528 of time exceeds the threshold sedentary time period ΔT, the sedentary alert manager 330 communicates 518 a sedentary alert, e.g., sedentary alert notification information, etc., to the wearable electronic device of the user. The sedentary alert is indicative that the user has spent more than ΔT period of time being in the sedentary state and he/she is encouraged to end the sedentary period 528 of time by doing a more active task, e.g., walking, or running, or performing a physical activity with higher energy expenditure than being sedentary, etc. The sedentary alert is intended to inform the user of his/her sedentary behavior and encourage him/her to be more active. In some embodiments, the sedentary alert is in the form of a vibration of the wearable electronic device or a sound emitted by the wearable electronic device through the speaker of the wearable electronic device, a sentence or a message displayed on the display device of the wearable electronic device.

A non-exhaustive list of sedentary alerts includes: “time to get moving!”; “How about a walk?”; “Get moving”; “care for a stroll”; “Move those muscles!”; “Let's move”; “please get up”; “how about a walk?”; “step it up!”; “take a break”; “stretch your legs”; “you were still for xx minutes” (where xx is how long the user has been sedentary); “where you are today is where your mind put you!”; “take care of your body”; “get up!”; “don't just sit there”; “be the example”; “get up, stand up”; “get up, get fit!”; “you've been sitting for 1 hour”; “you know what time it is!”; “woof! let's walk!”; “feed me steps”; “it's never to late to move!”; “time to get steppin'”; “let's move”; “Move! Move! Move!”; “I'm bored. Let's shake it!”; “go get 'em!”; “You can do anything you set your mind to”; “Gonna fly now!”; “I dare you to move!”; “More steps please”; “Move your butt”; “UP UP UP”; “Stretccch”; “Waaalk”; “GETUPANDGO”; “Take a walk”; “Grab a friend, take a walk”; “When the going gets sedentary, the sedentary get going!”; “I believe you can fly!”; “What have you done today to make me feel proud?”; “I want to run”; “Seize the day!”; “Run away!”; “I'm after you!”; “The British are coming”; “Tick tick tick, you're blood sugar is rising”; “Shutup and step”; “Hungry for steps”; “Error: Steps too low”; “Step error”; “Have you forgotten what walking feels like?”; “If you were my Fitbit, I'd walk you”; “it's been a while”; “Time to get up!”; “Get moving”; “Stop being an Eeyore”; “Hop to it”; “Make like a bunny and hop to it”; “It's that time again!”; “Let's go get some water”; “Let's go for a jaunt”; “care for a stroll?”; “stretch them legs!” “streeeeeeaaaaatttccchhh”; “step up 2 the streets”; “now walk it out”; “walk it out”; “left right LEFT!”; and “lets go find some stairs!”, etc. In some embodiments, the user alternatively or additionally receives one or more icons, and/or one or more animated images, e.g., animated feet, animated steps, etc., displayed on the display device of the wearable electronic device and the one or more icons and/or the one or more animated images indicate that the user is sedentary for greater than the threshold sedentary time period ΔT.

In various embodiments, upon receipt of the sedentary alert, the user ends the sedentary time period. In several embodiments, upon receipt of the sedentary alert, the user remains sedentary and continues to receive sedentary alerts from the sedentary state monitor 124 at regular time intervals encouraging him/her to move. For example, the user receives sedentary alerts every hour.

In some embodiments, if the user ends the sedentary period 528 of time, the user receives, via the wearable electronic device, a congratulations message from the sedentary state monitor 124, also sometimes referred herein below as a celebration message, to encourage him/her in his/her effort of ending the sedentary period 528 of time as described above. The celebration message is one of celebration messages described further below.

Embodiments describing mini-goal alerts follow.

In some embodiments, the user is encouraged to achieve a mini goal, e.g., 250 steps, or 15 minutes of consecutive non-sedentary moments of interest, etc., during a predetermined window of time. The mini goal is a step towards achieving a predefined goal. The sedentary periods and the non-sedentary activity of the user are tracked by the non-sedentary goal manager 340 (FIG. 3), which interacts with the display device of the wearable device and sends one or more notifications, e.g., mini-goal notification information, etc., to the display device of the wearable device providing information on a progress of the user for reaching the mini goal. For example, the non-sedentary goal manager 340 sends an indication of the progress to notify the user, via a vibration of the wearable electronic device, and/or a message displayed on the display device of the wearable electronic device, and/or a sound emitted by the speaker of the wearable electronic device, of remaining activity to perform to achieve the mini goal before an end of the predetermined window of time. A non-exhaustive exemplary list of notifications and messages that the user receives as part of the mini goal includes “xx MORE STEPS”; “xx STEPS TO GO!”; “xx STEPS LEFT”; “TAKE xx STEPS BEFORE 3 PM”; “xx STEPS TO HOURLY GOAL”; “10 MIN TO GET xx STEPS!”; “xx/yy STEPS DOWN, xx TO GO!”; “every step counts! xx MORE this hour!”; “Only xx steps to go till yy”; and “take xx (animated feet/steps)”, where xx is replaced by a number of steps left, and yy is replaced with a total number of steps set to be achieved for the mini-goal.

In some embodiments, instead of receiving an indication of how many steps remain or a length of an activity that remains to achieve the mini goal, the user receives a notification, e.g., a message, mini-goal notification information, etc., via a vibration of the wearable electronic device, and/or a message displayed on the display device of the wearable electronic device, and/or a sound emitted by the speaker of the wearable electronic device, asking him/her to start being active, e.g., walk, run, etc., and later receives a “celebration message” via a vibration of the wearable electronic device, and/or a message displayed on the display device of the wearable electronic device, and/or a sound emitted by the speaker of the wearable electronic device, for achieving the mini goal. For example, the non-sedentary goal manager 340 determines that the mini goal is achieved and provides a notification of achieving the mini goal to the user via a vibration of the wearable electronic device, and/or a message displayed on the display device of the wearable electronic device, and/or a sound emitted by the speaker of the wearable electronic device. The mini goal is sometimes referred to herein as a mini celebration. For example, the mini celebration is “a buzz+smiley”, when the user hits yy steps during the predetermined window of time set for the mini goal, e.g., during 1 hour, etc. The buzz is an example of a vibration of the wearable electronic device. In some embodiments, the wearable electronic device includes a tactile feedback device that vibrates to provide a tactile feedback to the user to provide a notification to the user.

While in some embodiments, the predetermined window of time for which the mini goal, e.g., a non-sedentary goal, etc., is to be achieved is 1 hour, in various embodiments a different predetermined time window, e.g., in a range of 10 minutes to 6 hours, or a range of 20 minutes to 3 hours, every 2 hours, etc., is used. In several embodiments, the predetermined window of time for which the mini goal, e.g., a non-sedentary goal, etc., is to be achieved is configurable, e.g., the user selects a length of the predetermined window of time for achieving the mini goal by setting preferences, in a manner described above. In some embodiments, the predetermined window of time for which the mini goal is to be achieved is dynamically adjusted, e.g., reduced or increased based on various factors, etc., by the sedentary state monitor 124. In some embodiments, the predetermined window of time for which the mini goal is to be achieved is capable of being automatically disabled by the sedentary state monitor 124 and/or manually disabled by the user.

In various embodiments, the user further determines preferences regarding timing for receiving notifications and reminders regarding his/her progress towards the mini goal and provides the preferences via the input device of the wearable electronic device or via the input device of one of the other electronic devices to the sedentary state monitor 124. For example, the user desires to receive a notification some minutes prior to the end of the predetermined window of time, e.g., 50 minutes into the hour, etc., before achieving the mini goal. The notification includes information indicating that the mini goal is to be achieved and remaining activities, e.g., a number of non-sedentary minutes, a number of steps, etc., to perform to achieve the mini goal. If the user completes the mini goal before the predetermined window of time ends, the user receives a rewarding message from the sedentary state monitor 124 and receives a prize from the sedentary state monitor 124 for that achievement.

A non-exhaustive exemplary list of celebration messages that the user receives for achieving the mini goal is presented herein: “★”; “great job!”; “:-D :-D :-D”; “:) :) :) :)”; “xx/yy!!!”; “another moving hour!”; “winner”; “winner winner chicken dinner”; “champion! champion!”; “xx down!”; “very good!”; “every extra step matters!”; “you=step machine”; “you=on fire!”; “you=awesome!”; “hourly step champ”; “xx steps isn't even that much”; and “my hero”, where xx is replaced by a number of steps completed during the predetermined window of time allocated for that mini-goal, and yy is replaced with a number of steps set to be achieved for the mini goal. Further in some embodiments, the user competes with friends via the social network for most mini goals reached.

In various embodiments, the non-sedentary goal manager 340 tracks and records mini goals set and achieved by the user and presents the mini goals set and/or achieved to the user. The mini goals are presented to the user on the display device of the wearable electronic device or one of the other electronic devices, which receives the mini goals from the wearable electronic device via the communication device of the wearable electronic device and the communication device of the one of the other electronic devices. The user then views his/her sedentary behavior and tracks his/her improvement in achieving the mini-goal over time.

In several embodiments, the sedentary alert manager 330 differs from the non-sedentary goal manager 340 in that the sedentary alert manager 330 works on a current sedentary period of time that started when the state of the user transitioned to sedentary, while the non-sedentary goal manager 340 operates off set time windows irrespective of whether the state is sedentary at a beginning of each time window. As previously discussed, two or more of the managers are used in combination to interact with the user via the sedentary state monitor 124 and the wearable electronic device to alter his/her sedentary behavior.

Embodiments describing learning alerts follow.

In some embodiments, a sedentary learning unit 350 of the sedentary state monitor 124 (FIG. 3), is coupled to the managers 320, 330, and 340, and receives notification information, e.g., one or more notifications, etc., sent to the user via the sedentary state monitor 124 (FIG. 1A) from each one of the managers 320, 330, and 340, and determines which of the one or more notifications had an effect of modifying a sedentary behavior of the user. For example, the sedentary learning unit 350 determines which of the one or more notifications succeeded in altering general sedentary behavior of the user by limiting a length of the sedentary period of time.

While in some embodiments, each of the managers 320, 330, and 340 transmits the notification information regarding a time at which the one or more notifications, e.g., the non-sedentary state transition notification information, the sedentary alert notification information, and the mini-goal notification information, etc., is sent, in various embodiments, the managers 320, 330, and 340 transmit more, less, or different data as part of the notification information. For example, the managers 320, 330, and 340 transmit a type of notification, e.g., a message, a vibration, and/or a sound, to the sedentary learning unit 350. As another example, the managers 320, 330, and 340 transmit information regarding a result of a notification sent to the user, e.g., whether the user ended his/her sedentary period, etc. to the sedentary learning unit 350.

In some embodiments, the sedentary learning unit 350 receives the sensor data 150 (FIG. 1A) from the one or more sensors 110 (FIG. 1A) to determine whether a transmitted notification had an effect of modifying a sedentary behavior of the user. The sedentary learning unit 350 records the sensor data 150 over a period of time to learn which type of notification, e.g., personality or tone of a message, etc., and which context, e.g., a time, a location, etc., has a desired effect on the user. Examples of the desired effect include a decrease in long periods of sedentary time, a decrease in a number of the sedentary states over time, a decrease in a number of sedentary statuses over time, etc. The sedentary learning unit 350 determines improved preferences and settings, e.g., configuration parameters, etc., for configuring at least one of the managers 320, 330, and 340 based on the notification information received.

The sedentary learning unit 350 learns a behavior of the user in response to the notifications from the managers 320, 330, and 340 and reacts to the user's behavior to improve the user's response to the notifications. For example, the sedentary learning unit 350 changes a configuration of one of the managers 320, 330, and 340, e.g., by transmitting configuration parameters to that manager, etc., to change to a time of day when the user might respond to a notification when the sedentary learning unit 350 determines that at another particular time of a day, the user never responds to the notification. As another example, the sedentary learning unit 350 changes a configuration of the sedentary alert manager 330 by modifying a length of the threshold sedentary period after which a notification is sent to the user. As yet another example, the sedentary learning unit 350 modifies a type of notification sent to the user, e.g., configures one of the managers 320, 330, or 340 to send a message to be displayed on the display device of the wearable electronic device instead of a vibration alert, e.g., a buzz, etc., or to cause an emission of a sound by the speakers of the wearable electronic device instead of a vibration, or to change the sound emitted, or to change the tone of a message, or to modify the type of notification.

In some embodiments, the sedentary learning unit 350 changes a plurality of configuration parameters such that one of the managers 320, 330, and 340 operates at a given time of the day. For example, the sedentary learning unit 350 determines that between certain hours of the day, e.g., 8 AM to 12 PM, etc., the user's response to notifications received from the non-sedentary state transition manager 320 is better than the user's response to notifications received from the sedentary alert manager 330. In this example, the sedentary learning unit 350 determines configuration parameters that disable a use of the sedentary alert manager 330 during those hours, e.g., 8 AM to 12 PM, etc. While the sedentary alert manager 330 and the non-sedentary state transition manager 320 are described in this example, in various embodiments, the sedentary learning unit 350 determines configuration parameters to disable or enable another manager, e.g., the non-sedentary goal manager 340, etc., and/or determines other hours of day during which to configure the managers 320, 330, or 340. While in several embodiments, the sedentary learning unit 350 changes a configuration of at least one of the managers 320, 330, and 340, in some embodiments, the sedentary learning unit 350 transmits a recommendation of a configuration of at least one of the managers 320, 330, and 340 to the display device of the wearable electronic device to be approved by the user prior to the configuration of the at least one of the managers 320, 330, and 340 with the changed configuration parameters.

In various embodiments, the sedentary learning unit 350 allows the user to snooze the sedentary alert notification information, such that the wearable electronic device reminds the user at a later time to perform a non-sedentary activity. The sedentary learning unit 350 records data related to an act, performed by the user via the input device of the wearable electronic device or the input device of one of the other electronic devices, of snoozing the sedentary alert notification information. For example, the data related to the act of snoozing includes a type of notification snoozed, a time at which the notification is snoozed, the state, e.g., sedentary, non-sedentary, etc., of the user at that time, a geographical location at which the notification is snoozed, etc. The sedentary learning unit 350 uses the data related to the act to change a configuration of one or more of the managers 320, 330, and 340. For example, if the user snoozes one or more of the managers 320, 330, and 340 at a particular time of a day, a configuration is changed in the manager to avoid operating during that time. This is used to improve the user's experience and instill greater confidence in the wearable electronic device. In some embodiments, the sedentary learning unit 350 is implemented using one or more of the following: a decision tree, a random forest, a support vector machine, a neural network, a K-nearest neighbor, a Naïve Bayes, and Hidden Markov Models.

In various embodiments, the user is able to set preferences for a type of notification received based on his/her sedentary behavior. For example, the user is able to select a subset of subunits, e.g., the non-sedentary state transition manager 320, the sedentary alert manager 330, the non-sedentary goal manager 340, etc., of the sedentary state monitor 124 via the input device of the wearable electronic device or the input device of one of the other electronic devices for use in notifying the user based on his/her sedentary behavior. Furthermore, the user is able to select a sound, a particular message to be displayed on the display device of the wearable electronic device, and a vibration for each type of message received on the wearable electronic device. The user chooses a combination of the types of notifications to be received simultaneously. The user sets the sedentary state monitor 124 via the input device of the wearable electronic device or the input device of one of the other electronic devices such that the sedentary periods are monitored within specific intervals of times. For example, the user desires to monitor the sedentary periods or the non-sedentary periods during a day between 8 AM and 8 PM.

Embodiments describing a classification of the status of the user based on the MET measures follow.

In some embodiments, the MET measures are used to determine the sedentary status or the non-sedentary status of the user. Thus, the MET measures are sometimes referred to as sedentary coefficients. The user status classifier 120 (FIG. 1A) receives a MET measure for a moment of interest and determines whether the MET measure is below a predetermined threshold. When the MET measure is below the predetermined threshold, the status of the user for that moment of interest is classified as being the sedentary status by the user status classifier 120. When the MET measure is above the predetermined threshold, the status of the user is classified as being non-sedentary for that moment of interest by the user status classifier 120 and the user is determined to be active by the user status classifier 120.

FIG. 6A illustrates a recordation of the MET measures at consecutive moments of interest over a period of time and a classification of a status 612 of the user by the user status classifier 120 (FIG. 1A) at each moment of interest based on the MET measures, in accordance some embodiments described in the present disclosure. The status 612 of the user is classified 614 as being non-sedentary by the user status classifier 120 at a moment of interest based on a MET measure exceeding a threshold MET value at that moment of interest, according to several embodiments described in the present disclosure. The MET measures are generated by the sensor data analyzer 112 (FIG. 1A) for a number of moments of interest, e.g., F₁, F₂ . . . F_(N), etc., and each MET measure, e.g., MET value, etc., is compared by the user status classifier 120 with the threshold MET value used for determination 630 of the sedentary status. MET measures 624 are all below the threshold MET value as determined by the user status classifier 120, and each moment of interest for the MET measures 624 is classified 614 and recorded as having the sedentary status by the user status classifier 120 within a memory device, e.g., the computer-readable media, etc., of the wearable electronic device or of one of the other electronic devices. Comparatively, MET measures 626 all exceed the threshold MET value as determined by the user status classifier 120, and each moment of interest for the MET measures 626 is recorded by the user status classifier 120 within the memory device as having the non-sedentary status. MET measures 628 are associated with sedentary and non-sedentary moments of interest by the user status classifier 120. For example, two of the MET measures 628 are above the threshold MET value as determined by the user status classifier 120, and each moment of interest 628B for the two of the MET measures 628 is identified as having the non-sedentary status by the user status classifier 120. The two other illustrated MET values of the MET measures 628 are below the threshold MET value as determined by the user status classifier 120. Each moment of interest 628A and 628C for the two other MET values is identified as having the sedentary status by the user status classifier 120. In some embodiments, the threshold MET value is within the range of 0.8-1.8 MET, e.g., 1.5 MET, etc. The classification 614 of the moments of interest illustrated at FIG. 6A yields sedentary and non-sedentary moments of interests illustrated in FIG. 2.

FIG. 6B illustrates a recordation of the MET measures at consecutive moments of interest over a period of time and a classification of the status of the user by the user status classifier 120 (FIG. 1A) at each moment of interest based on the MET measures, in accordance with various embodiments described in the present disclosure. The status of the user is classified as being non-sedentary at a moment of interest based on a MET measure exceeding a first threshold MET value at that moment of interest. The status of the user is classified as being sedentary at a moment of interest based on a MET measure being below a second threshold MET value at that moment of interest. In addition, the status of the user is classified as being sedentary at a moment of interest if the MET value exceeds the second threshold MET value, is below the first threshold MET value, and it is further preceded and followed by a moment of interest with a sedentary status. In some embodiments, a group of N consecutive moments are classified as having sedentary status if a MET measure associated with each moment is between the first and the second threshold MET values and the group of N consecutive moments of interest is immediately preceded and succeeded by a moment of interest with a sedentary status. Examples of N consecutive moments of interest include moments of interest, each occurring at 1 minute time intervals (e.g., where N is between 1 and 5), or each occurring at time intervals between 1 minute and 5 minutes, or each having 1 second time intervals (e.g., where N is between 1 and 300), or each occurring at time intervals between 1 second and 300 seconds, etc. If the N moments of interest occur at longer time intervals, e.g., every 10 minutes, etc., then N is smaller, e.g., 2, etc. In the embodiments discussed above, the second threshold MET value is lower than the first threshold MET value.

Each of the MET measures generated by the sensor data analyzer 112 is compared by the user status classifier 120 with the first threshold MET value used for recording a non-sedentary status 632 and with the second threshold MET value used for recording a sedentary status 634. The recordation of the non-sedentary status 632 and the sedentary status 634 in the memory device is performed by the user status classifier 120. MET measures 646 are all above the first threshold MET value, and each moment of interest for the MET measures 646 as determined by the user status classifier 120 to have the non-sedentary status is recorded by the user status classifier 120. The MET measures 644 are all below the second threshold MET value as determined by the user status classifier 120, and each moment of interest for the MET measures 644 is recorded by the user status classifier 120 as having the sedentary status. Comparatively, some of MET measures 648 exceed the second threshold MET value but are below the first threshold MET value as determined by the user status classifier 120, while other ones of the MET measures 648 are below the second threshold MET value as determined by the user status classifier 120. A first moment of interest of a group of contiguous moments of interest for the MET measures 648 has a MET value below the second MET threshold value as determined by the user status classifier 120, while a second moment of interest and a third moment of interest for the MET measures 648 has a MET value between the first and the second threshold MET values as determined by the user status classifier 120, immediately followed by moments of interest with a MET value below the second threshold MET value. In this example, all moments of interest for the MET measures 648 are determined by the user status classifier 120 as having the sedentary status despite having two moments within the contiguous group of moments with MET measures exceeding the second threshold MET value.

As described above, in some embodiments, a MET measure determines the non-sedentary status of the user associated with a particular type of activity of the user. For example, according to a MET measure, the user status classifier 120 determines whether the user is running, walking, sprinting, bicycling, swimming or performing another type of non-sedentary activity. To further illustrate, if a MET measure is within a range of 2.5 to 3.2, a status of the user is classified as “non-sedentary, bicycling”. As another example, if a MET measure is within a range of 3.2 to 3.8, a status of the user is classified as “non-sedentary, walking”. As yet another example, is a MET measure is between 6.7 to 7.3, e.g., e.g., 7.0, etc., a status of the user is classified as “non-sedentary, jogging”.

Embodiments describing a classification based on other sensor information follow.

In some embodiments, the sedentary status of the user for a moment of interest is determined by the user status classifier 120 based on the sensor data 150 (FIG. 1A), e.g., the motion sensor data and/or the biometric data, etc., received from the one or more sensors 110 (FIG. 1A) without the generation of the MET measures. For example, the sedentary status of the user is determined based on the motion measures, e.g., also sometimes referred to as movement measures, etc., and/or the heart rate measures without calculation of MET measures. Some embodiments of a classification of a status of the user at a moment of interest are described in U.S. Pat. No. 8,548,770 “Portable monitoring devices and methods of operating same,” which is incorporated by reference herein in its entirety.

Description of exemplary devices with automatic detection of the user's sedentary state or the non-sedentary state and providing notification to the user based on the sedentary state follow.

As previously described, while in some embodiments, one or more of the operations, described above, are implemented in the wearable electronic device, in various embodiments, one or more the operations are distributed among electronic devices, e.g., the wearable electronic device and the other electronic devices, etc. FIG. 7 illustrates examples of one such distribution. FIG. 7 is a block diagram illustrating a wearable electronic device 702 and an electronic device 700 implementing operations disclosed according to various embodiments described in the present disclosure. The electronic device 700 is an example of one of the other electronic devices. The wearable electronic device 702 includes a processor 742 and the one or more sensors 110. In some embodiments, instead of the processor 742, multiple processors are used in the wearable electronic device 702.

In some embodiments, the one or more sensors 110 include the motion sensor 727, examples of which include a multi-axis accelerometer, a gyroscope, a gravity sensor, a rotation vector sensor, and a magnetometer. Moreover, in various embodiments, the one or more sensors 110 include one of more other sensors 714, which include a photoplethysmographic sensor 720. In several embodiments, the one or more other sensors 714 include a temperature sensor 721, an ambient light sensor 722, a galvanic skin response sensor 723, a capacitive sensor 724, a humidity sensor 725, and a sound sensor 726.

The wearable electronic device 702 also includes a non-transitory machine readable storage medium 718, which contains the sensor data analyzer 112 as discussed herein above. When executed by the processor 742, the sensor data analyzer 112 causes the wearable electronic device 702 to generate the analyzed sensor information 152 for moments of interest. The wearable electronic device 702 performs functionalities relating to the user status classifier 120, the time period detector 122, and/or the sedentary state monitor 124, some or all of which are included in a sedentary tracking and notification module (STNM) 750, which is stored in the non-transitory machine readable storage medium 718. When executed by processor 742, the STNM 750 causes the wearable electronic device 702 to perform corresponding operations discussed herein above. The wearable electronic device 702 further includes the user interface 126 having a display device 732. Examples of a display device includes a liquid crystal display (LCD) display device, a light emitting diode (LED) display device, a plasma display device, etc. In some embodiments, the user interface 126 includes a speaker, a haptic screen, and/or a vibration mechanism, e.g., a haptic communication device, a rumble pack, a kinesthetic communication device, etc., to allow communication and interaction with the user wearing the wearable electronic device 702.

In some embodiments, the one or more other sensors 714 are not placed within the wearable electronic device 702. The one or more other sensors 714 are distributed around the user. For example, the one or more other sensors 714 are placed on a chest of the user, or a mattress on which the user lies, or a bedside table located by the user, while the wearable electronic device 702 is worn by the user.

FIG. 7 also includes an embodiment of the electronic device 700, e.g., the server including hardware and software, a tablet, a smartphone, etc., containing an application. In some embodiments, the electronic device 700 performs functionalities relating to the user status classifier 120, the time period detector 122, and/or the sedentary state monitor 124, some or all of which are included in the STNM 750, which is stored in a non-transitory machine readable storage medium 748 of the electronic device 700. For example, the STNM 750, instead of being stored in the non-transitory machine readable storage medium 718 of the wearable electronic device 702, is stored in the non-transitory machine readable storage medium 748 of the electronic device 700 for execution by a processor 752 of the electronic device 700. In some embodiments, the sensor data analyzer 112 is stored in the non-transitory machine readable storage medium 748 instead of being stored in the non-transitory machine readable storage medium 718, and is executed by the processor 752.

When executed by processor 752, the STNM 750 causes the electronic device 700 to perform corresponding operations discussed herein above. In some embodiments, the electronic device 700 contains virtual machines (VMs) 762A to 762R, each of which executes a software instance 766 or a software instance 768 of the STNM 950. A hypervisor 754 presents a virtual operating platform for the virtual machines 762A to 762R.

The wearable electronic device 702 collects one or more types of the sensor data 150, e.g., biometric data, etc., from the one or more sensors 110 and/or external devices, and then utilizes the sensor data 150 in a variety of ways. Examples of the biometric data include data pertaining to physical characteristics of a human body, such as, for example, a heartbeat, a heart rate, perspiration levels, etc. Other examples of the sensor data 150 include data relating to a physical interaction of the human body with an environment, such as accelerometer readings, gyroscope readings, etc. An example of the external devices includes an external heart rate sensor or monitor, e.g., a chest-strap heart rate sensor or monitor, etc. Examples of utilizing the sensor data 150 in the variety of ways include making calculations based on the sensor data 150, storing the sensor data 150, storing the calculations in the non-transitory machine readable storage media 718, automatically acting on the sensor data 150, automatically acting on the calculations, communicating the sensor data 150 to a communication device, such as, one or more network interface controllers 744, etc., of the electronic device 700 over the computer network, such as, for example, the Internet, a wide-area network, a local area network, etc., and communicating the calculations to the communication device over the computer network. Examples of automatically acting on the calculations include an automatic watch check and dismissal gesture detection. As described herein, the wearable electronic device 702 also receives data, e.g., notifications, etc. from one of the other electronic devices for storage and/or display on the display device 732.

In some embodiments, the electronic device 700 includes a display device for presenting any notifications described herein, e.g., the non-sedentary state transition notification information, the sedentary alert notification information, and the mini-goal notification information, etc., which are received from the wearable electronic device 702. For example, the sedentary state monitor 124 of the wearable electronic device 702 generates a notification and sends the notification via a communication device of the wearable electronic device 702 and a communication device of the electronic device 700 to the display device of the electronic device 700 for display on the display device 700.

In various embodiments, the sensor data 150 is obtained by the wearable electronic device 702 and send via the communication device of the wearable electronic device 702 and the communication device of the electronic device 700 to the STNM 750 of the electronic device 700 for performing the operations described herein.

In several embodiments, a notification is generated by the electronic device 700 and is sent from the one or more network interface controllers 744 to the communication device of the wearable electronic device 702 via the computer network for display of the notification on the display device 732. In various embodiments, the sedentary state monitor 124 of the electronic device 700 generates a notification and sends the notification via a communication device of the electronic device 700 and a communication device of the wearable electronic device 702 to the display device 732 for display on the display device 732.

FIG. 8 is a block diagram of an embodiment of a wrist-mounted electronic device having a button, a display, and a wrist band to secure the wrist-mounted electronic device to a user's forearm, according to several embodiments described in the present disclosure. For example, FIG. 8 depicts the wearable electronic device 702, such as illustrated in FIG. 7, and that is worn on the user's forearm, like a wristwatch. In FIG. 8, the wrist-mounted electronic device has a housing 802 that contains electronics, e.g., components illustrated in FIG. 7, etc., associated with the wrist-mounted electronic device, a button 804, and a display screen 806 accessible or visible through the housing 802. The display screen 806 is of the display device 732 (FIG. 7). A wristband 808 is integrated with the housing 802.

In some embodiments, the wrist-mounted electronic device incorporates one or more user interfaces including, but not limited to, visual, auditory, touch/vibration, or combinations thereof. In some embodiments, the wrist-mounted electronic device provides haptic feedback through, for instance, a vibration of a motor. In some implementations, the one or more sensors 110 (FIG. 1A) are used as part of the one or more user interfaces, e.g., accelerometer sensors are used to detect when the user taps the housing 802 of the wrist-mounted electronic device with a finger or other object and then interprets such data as a user input for purposes of controlling the wrist-mounted electronic device. For example, double-tapping of the housing 802 of the wrist-mounted electronic device is recognized by the wrist-mounted electronic device as a user input.

While FIG. 8 illustrates an implementation of the wrist-mounted electronic device, in some embodiments, the wrist-mounted electronic device has other shapes and sizes adapted for coupling to, e.g., secured to, worn, borne by, etc., a body or clothing of the user. For example, the wrist-mounted electronic device is designed such that it is inserted into, and removed from, a plurality of compatible cases or housings or holders, e.g., a wristband that is worn on the user's forearm or a belt clip case that is attached to the user's clothing. As used herein, the term “wristband” refers to a band that is designed to fully or partially encircle the user's forearm near a wrist joint. The band is continuous, e.g., without any breaks, or is discontinuous, or is simply open. An example of the continuous band includes a band that stretches to fit over the user's hand or has an expanding portion similar to a dress watchband. An example of the discontinuous band includes a band having a clasp or other connection allowing the band to be closed, similar to a watchband. An example of the open band is one having a C-shape that clasps the user's wrist.

It should be noted that in some embodiments, information, e.g., notifications, etc., are accessed by the user after logging into a user account. For example, the user provides his/her user information, e.g., user name, password, etc., and when the user information is authenticated by the server, the user logs into the user account. In these embodiments, the notifications are posted within the user account. The user account is stored on the server.

In some embodiments, the user accesses the user account to view graphs illustrated in FIGS. 2, 4, 5, 6A, and 6B. The graphs are viewed on the display device of the wearable electronic device or on the display device on one of the other electronic devices.

Some embodiments of the wearable electronic device and of one of the other electronic devices are described in application Ser. No. 15/048,965, filed on Feb. 19, 2016 and titled “Generation of Sedentary Time Information by Activity Tracking Device”, in application Ser. No. 15/048,972, filed on Feb. 19, 2016 and titled “Temporary Suspension of Inactivity Alerts in Activity Tracking Device”, in application Ser. No. 15/048,976, filed on Feb. 19, 2016 and titled “Live Presentation of Detailed Activity Captured by Activity Tracking Device”, and in application Ser. No. 15/048,980, filed on Feb. 19, 2016 and titled “Periodic Inactivity Alerts and Achievement Messages”, all of which are incorporated by reference herein in their entirety.

It should be noted that in an embodiment, one or more features from any embodiment described herein are combined with one or more features of any other embodiment described herein without departing from a scope of various embodiments described in the present disclosure.

While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described, can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting. 

What is claimed is:
 1. An electronic device, comprising: a communication device configured to communicate with a wearable device including one or more biometric sensors configured to generate samples of biometric information for a plurality of moments of interest; at least one processor; and a memory storing computer-executable instructions for controlling the at least one processor to: receive, via the communication device, the samples from the wearable device, compare the samples for each of the moments of interest to a first predetermined threshold, classify the samples for each of the moments of interest into at least a sedentary status or a non-sedentary status based on the comparison, determine a first time period for which a defined number of consecutive samples have been classified into the sedentary status, classify the first time period as having a sedentary state in response to determining that the first time period is greater than a first threshold time period; send an indication to the wearable device that the first time period is classified as having a sedentary state, wherein the wearable device is configured to present a notification in response to the indication; determine a time of day when the notification was presented; determine, based on the samples, that a second time period following presentation of the notification is classified as having the sedentary state; and send instructions to the wearable device via the communication device to not present subsequent notifications responsive to further indications of time periods that have been classified as having the sedentary state and during a window of time corresponding to the time of day when the notification was presented.
 2. The electronic device of claim 1, wherein the memory further stores computer-executable instructions for controlling the at least one processor to: send to the wearable device via the communication device the notification for presentation by the wearable device, and wherein the notification includes a message recommending ending of the sedentary state.
 3. The electronic device of claim 1, wherein the memory further stores computer-executable instructions for controlling the at least one processor to: detect a third time period for which a number of consecutive samples have been classified into the non-sedentary status, determine that the third time period is greater than a second threshold time period, and classify the third time period as having a non-sedentary state upon determining that the third time period is greater than the second threshold time period.
 4. The electronic device of claim 3, wherein the memory further stores computer-executable instructions for controlling the at least one processor to: determine that the third time period is contiguous with a time period that has been classified as having the sedentary state, identify a transition from the sedentary state to the non-sedentary state upon determining that the third time period is contiguous with the time period that has been classified as having the sedentary state, and send to the wearable device via the communication device a second notification including a motivational message for display via the wearable device upon identifying the transition from the sedentary state to the non-sedentary state.
 5. The electronic device of claim 1, wherein the memory further stores computer-executable instructions for controlling the at least one processor to: determine that values of the samples for a group of consecutive moments of interest are each greater than the first predetermined threshold and each less than a second predetermined threshold, the second predetermined threshold being higher than the first predetermined threshold, determine that a value of one of the samples for a moment of interest preceding the group of consecutive moments of interest is classified as having the sedentary status, determine that a value of one of the samples for a moment of interest subsequent to the group of consecutive moments of interest is classified as having the sedentary status, and classify each of the samples for the group of consecutive moments of interest as having the sedentary status.
 6. The electronic device of claim 5, wherein the memory further stores computer-executable instructions for controlling the at least one processor to: determine that a size of the group of consecutive moments of interest is less than a size threshold prior to classifying each of the samples for the group of consecutive moments of interest as having the sedentary status.
 7. The electronic device of claim 5, wherein each of the samples is classified as having the sedentary status, the non-sedentary status, or an asleep status.
 8. A method, comprising: receiving, via a communication device, samples of biometric information for a plurality of moments of interest from a wearable device, the wearable device comprising one or more biometric sensors configured to generate the samples; comparing, via a processor, the samples for each of the moments of interest to a first predetermined threshold; classifying the samples for each of the moments of interest into at least a sedentary status or a non-sedentary status based on the comparison of the samples; determining a first time period for which a defined number of consecutive samples have been classified into the sedentary status; classifying the first time period as having a sedentary state in response to determining that the first time period is greater than a first threshold time period; sending an indication to the wearable device that the first time period is classified as having the sedentary state, wherein the wearable device is configured to present a notification in response to the indication; determining a time of day when the notification was presented; determining, based on the samples, that a second time period following presentation of the notification is classified as having the sedentary state; and sending instructions to the wearable device via the communication device to not present subsequent notifications responsive to further indications of time periods that have been classified as having the sedentary state and during a window of time corresponding to the time of day when the notification was presented.
 9. The method of claim 8, further comprising: sending to the wearable device via the communication device the notification for presentation by the wearable device, wherein the notification includes a message recommending ending of the sedentary state, and wherein the communication device is configured to send the notification at another time of the day.
 10. The method of claim 8, further comprising: detecting a third time period for which a number of consecutive samples have been classified into the non-sedentary status; determining that the third time period is greater than a second threshold time period; and classify the third time period as having a non-sedentary state upon determining that the third time period is greater than the second threshold time period.
 11. The method of claim 10, further comprising: determining that the third time period is contiguous with a time period that has been classified as having the sedentary state; identifying a transition from the sedentary state to the non-sedentary state upon determining that the third time period is contiguous with the time period that has been classified as having the sedentary state; and sending to the wearable device via the communication device a second notification including a motivational message for display via the wearable device upon identifying the transition from the sedentary state to the non-sedentary state.
 12. The method of claim 8, further comprising: determining that values of the samples for a group of consecutive moments of interest are each greater than the first predetermined threshold and each less than a second predetermined threshold, the second predetermined threshold being higher than the first predetermined threshold, determining that a value of one of the samples for a moment of interest preceding the group of consecutive moments of interest is classified as having the sedentary status, determining that a value of one of the samples for a moment of interest subsequent to the group of consecutive moments of interest is classified as having the sedentary status, and classifying each of the samples for the group of consecutive moments of interest as having the sedentary status.
 13. The method of claim 12, further comprising: determining that a size of the group of consecutive moments of interest is less than a size threshold prior to the classifying each of the samples for the group of consecutive moments of interest as having the sedentary status.
 14. The method of claim 12, wherein each of the samples is classified as having the sedentary status, the non-sedentary status, or an asleep status.
 15. A device comprising: one or more processors; and a memory storing a first configuration parameter, a second configuration parameter, and computer-executable instructions that, when executed, cause the one or more processors to: receive activity data generated by a wearable electronic device indicative of activity of a user of the wearable electronic device, determine, based on the activity data, a state of the user for each period of time of a plurality of periods of time, generate a first message based on the states of the user and the first configuration parameter, the first message being a first type of notification, communicate, via an output device, the first message to the user, generate a second message based on the states of the user and the second configuration parameter, the second message being a second type of notification different from the first type of notification, communicate, via the output device, the second message to the user, determine whether the communication of the first message to the user or the communication of the second message to the user resulted in a greater change of the state of the user, and change the first and second configuration parameters based on the determination of whether the communication of the first message to the user or the communication of the second message to the user resulted in the greater change of the state of the user.
 16. The device of claim 15, wherein: the change in the state of the user is from a sedentary state to a non-sedentary state, the memory further stores computer-executable instructions that, when executed, cause the one or more processors to change, responsive to determining that the communication of the first message to the user resulted in the greater change of the state of the user, the first configuration parameter to increase a rate of generating the first message and the second configuration parameter to decrease a rate of generating the second message.
 17. The device of claim 16, wherein the memory further stores computer-executable instructions that, when executed, cause the one or more processors to: determine that the state of the user has changed from the sedentary state to the non-sedentary state, and communicate, via the output device, the first message in response to determining that the state of the user has changed from the sedentary state to the non-sedentary state.
 18. The device of claim 15, wherein the memory further stores computer-executable instructions that, when executed, cause the one or more processors to: determine that the state of the user has remained in a sedentary state for a number of periods of time greater than a threshold number of periods of time, and communicate, via the output device, the second message in response to determining that the state of the user has remained in the sedentary state for the number of periods of time greater than the threshold number of periods of time.
 19. The device of claim 15, wherein the memory further stores a third configuration parameter and computer-executable instructions that, when executed, cause the one or more processors to: determine, based on the state of the user, progress towards an activity goal, communicate, via the output device, a third message to the user indicative of the progress towards the activity goal and based on the third configuration parameter, determine, based on the states of the user, whether the communication of the third message to the user resulted in a greater change of state of the user than the communication of the first and second messages to the user, and change the third configuration parameter based on the determination that the communication of the third message resulted in the greater change of state of the user than the communication of the first and second messages to the user.
 20. The device of claim 15, wherein the first message comprises a motivational message for display via the wearable electronic device. 